package com.dk.service;

import com.dk.entity.DtGoods;
import com.dk.entity.DtOrder;
import com.dk.entity.Evaluate;
import com.dk.entity.TbAddress;

import java.util.List;

public interface OrderServiceI {
    DtGoods selectByGoodsId(Long goodsId);

    List<TbAddress> selectAddressByUserId(String id);

    void insertOrder(DtOrder dtOrder);

    void updatestatus(String out_trade_no, String trade_no);

    void insertPayLog(String out_trade_no, String total_amount, String trade_no, String id);

    DtOrder selectOrderId(Long orderId);

    void insertEvaluate(Evaluate evaluate);
}
